﻿using Architecture.CrossCutting.RepositoryPattern.Logging;
using Architecture.CrossCutting.Web.Tracing.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.CrossCutting.LoggingEntities.Mapping
{
    public class WebApiLogMap : EntityTypeConfiguration<WebApiLog>
    {
        public WebApiLogMap()
        {
            //Primary Key
            this.HasKey(l => l.Id);

            this.ToTable("WebapiLogs", "dbo");
        }
    }
}
